/*
 * Created on 3 août 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package fr.jade.util.log.handler;

import java.util.Calendar;
import java.util.GregorianCalendar;

/**
 * @author ssicard
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class TerminalHandler implements Handler{

	public void start(){}
	public void stop(){}
	
	public void log(String msg) {
		GregorianCalendar cal = new GregorianCalendar();
		System.out.print("["+cal.get(Calendar.HOUR)+":"+cal.get(Calendar.MINUTE)+":"+cal.get(Calendar.SECOND)+"] ");
		System.out.print("["+cal.getTimeInMillis()+"] ");
		System.out.print(msg+"\n");
	}
}
